package com.shuhua.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 工匠-班组关联实体类
 */
@Data
@TableName("craftsman_team")
public class CraftsmanTeam {
    
    @TableId
    @TableField("craftsman_id")
    private Long craftsmanId;
    
    @TableId
    @TableField("team_id")
    private Long teamId;
    
    @TableField("is_collect")
    private Integer isCollect;

    // Getters and Setters
    public Long getCraftsmanId() {
        return craftsmanId;
    }

    public void setCraftsmanId(Long craftsmanId) {
        this.craftsmanId = craftsmanId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Integer getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(Integer isCollect) {
        this.isCollect = isCollect;
    }
}